From 62dce64a48e5483eca82c1f52690b1774e57d249 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 9 Aug 2015 23:38:40 +0200 Subject: [PATCH] Remove a self-assignment clang doesn't like those. --- gtk/gtkbbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c index 68ec4845c8..000ba13dbe 100644 --- a/gtk/gtkbbox.c +++ b/gtk/gtkbbox.c @@ -884,7 +884,7 @@ gtk_button_box_size_allocate (GtkWidget *widget, switch (gtk_box_get_baseline_position (GTK_BOX (widget))) { case GTK_BASELINE_POSITION_TOP: - baseline = baseline; + /* keep baseline as is */ break; case GTK_BASELINE_POSITION_CENTER: baseline = baseline + (allocation->height - baseline_height) / 2; -- 2.30.2